@green: #1abc9c;

// 文字隐藏
// 不适用于IE6/IE7 inline-block
.hide-text() {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

// 透明
.opacity(@opacity) {
  opacity: (@opacity/100);
  filter: alpha(opacity=@opacity);
}

// 清除浮动
.clearfix() {
  *zoom: 1;
  &:before,
  &:after {
    display: table;
    content: " ";
  }
  &:after {
    clear: both;
  }
}

//@media
@ie6-7: screen\9;
@ie8: \0screen;
@ie6-8: ~"@{ie8}\,@{ie6-7}";

@yahei: "微软雅黑";

.triangle  { display: inline-block; width:0; height:0; _overflow:hidden; }
.triangle-up(@color; @w: 4px) {border:@w dashed transparent; border-left:@w solid @color; }
.triangle-down(@color; @w: 4px) {border:@w dashed transparent; border-top:@w solid @color; }
.triangle-right(@color; @w: 4px) {border:@w dashed transparent; border-left:@w solid @color; }
.triangle-left(@color; @w: 4px) {border:@w dashed transparent; border-right:@w solid @color; }


